package com.example.ruralservicedigitalplatform.service;

import com.example.ruralservicedigitalplatform.domain.po.DeliveryMan;
import com.example.ruralservicedigitalplatform.domain.query.PageBean;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.List;

public interface DeliveryManService {
    DeliveryMan getByName(String username);

    PageBean page(Integer page,Integer pageSize,Integer deliverymanId,String name, String password,String gender,int phoneNumber,int age, String image, String idNumber,int status, double averageTime, BigDecimal totalDeliveries,BigDecimal rating,LocalDate begin,LocalDate end);

    void update(DeliveryMan deliveryMan);

    void delete(List<Integer> ids);

    void add(DeliveryMan deliveryMan);
}
